package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.Roles;

import java.util.Map;

public interface RolesService extends IService<Roles> {

    //分页显示所有角色
    Page<Roles> showallroles(Integer pageno,Integer pagesize,Roles roles);

    //修改状态
    Map eidebystate(Roles roles);

    //添加
    Map addroles(Roles roles);

    //根据id查找角色
    Roles querybyid_roles(Roles roles);

    //修改
    Map eiderole(Roles roles);
}
